#include <common.h>
#include <filesystem.h>

#ifndef __INITRD_H
#define __INITRD_H

typedef struct {
	u32int nfiles;	//number of files in disk
} initrd_header_t;

typedef struct {
	u8int magic;		//magic number
	s8int name[64]; 	//filename
	u32int offset;		//offset in initrd
	u32int length;		//file len
} initrd_file_header_t;

#endif

fs_node_t *initialize_initrd(u32int location);

